package com.flyco.modules.sms.vo;

import java.util.List;
import com.flyco.modules.sms.entity.SmsInvitationInfo;
import com.flyco.modules.sms.entity.SmsInvitationAttribute;
import com.flyco.modules.sms.entity.SmsInvitationApply;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 众测活动管理
 * @Author: flyco
 * @Date:   2020-03-10
 * @Version: V1.0
 */
@Data
public class SmsInvitationInfoPage {

	/**id*/
	private Long id;
	/**名称*/
  	@Excel(name = "名称", width = 15)
	private String name;
	/**货号*/
  	@Excel(name = "货号", width = 15)
	private String productSn;
	/**数量*/
  	@Excel(name = "数量", width = 15)
	private Integer count;
	/**申请数量*/
  	@Excel(name = "申请数量", width = 15)
	private Integer applyCount;
	/**开始时间*/
  	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date startTime;
	/**结束时间*/
  	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime;
	/**状态：0-待开放申请 1-开放申请中 2-暂停 3-结束申请*/
  	@Excel(name = "状态：0-待开放申请 1-开放申请中 2-暂停 3-结束申请", width = 15)
	private Integer status;
	/**活动图片*/
  	@Excel(name = "活动图片", width = 15)
	private String pic;
	/**排序*/
  	@Excel(name = "排序", width = 15)
	private Integer sort;
	/**活动详情*/
  	@Excel(name = "活动详情", width = 15)
	private Object detailHtml;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="众测活动属性")
	private List<SmsInvitationAttribute> smsInvitationAttributeList;
	@ExcelCollection(name="众测活动申请")
	private List<SmsInvitationApply> smsInvitationApplyList;
	
}
